package com.chixing.day03_oop;

public class PhoneTest {
    public static void main(String[] args) {
//        创建两个对象 使用有参和无参

        Phone phone1=new Phone();
        phone1.setPhoneId(01);
        phone1.setPhoneName("小米");
        phone1.setPhonePrice(4599);
        phone1.setPhoneType("x40");
        phone1.setPhoneColor("红色");


        Phone phone2=new Phone(02,"华为",2500,"x20","黑色");
    }
}
